/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package conduitevoiture;

import java.awt.Dimension;

import javax.swing.JFrame;

/**
 *
 * @author test
 */
public class DemarrerVoiture {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
    	Voiture v = new Voiture(0, new Coordonnee(350, 600));
    	JFrame win = new JFrame("Simulatron de voiture");
		win.addKeyListener(new GestionClavier(v));
        win.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        win.setContentPane(new Fenetre(v));
        win.setSize(700, 700);
        win.setVisible(true); 
    }
}
